const path = require('path')
const config = require(path.resolve(__dirname, 'src/common/config.js'))

module.exports = {
  publicPath: config.rootPath,
  devServer: {
    contentBase: path.join(__dirname, 'static'),
    host: "0.0.0.0",
    port: 8090,
    proxy: {
      '^/moon': {
        target: 'http://172.16.2.166:8000', //测试服务器
        // target: 'http://172.16.2.101:8000', //云松
        // target: 'http://172.16.0.167:8000', //王奎
      },
      '^/jwcloud': {
        target: 'http://172.16.2.166:16000', //王德林
      },
    }
  }
}
